package com.ly.hotel.msgevent;

public class MsgDialogEvent {
	public static final int ACTION_SHOW = 1; 
	public static final int ACTION_CLOSE = 2; 
	private String msg;
	private long delayTime;
	private Integer id;
	private int action = 0;
	
	public MsgDialogEvent(Integer id,String msg,long delayTime,int action) {
		this.setId(id);
		this.setMsg(msg);
		this.setDelayTime(delayTime);
		this.setAction(action);
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public long getDelayTime() {
		return delayTime;
	}

	public void setDelayTime(long delayTime) {
		this.delayTime = delayTime;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getAction() {
		return action;
	}

	public void setAction(int action) {
		this.action = action;
	}
}
